Class org.omg.CORBA.ExceptionList
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.omg.CORBA.ExceptionList

java.lang.Object
   |
   +----org.omg.CORBA.ExceptionList

public class ExceptionList
extends Object
The ExceptionList class is used in the request operations to describe the exceptions an operation can result in. It maintains a modifiable list of TypeCodes.

Constructor Index

 o ExceptionList()

Method Index

 o add(TypeCode)
Add a TypeCode.
 o count()
A count of number of TypeCodes in the ExceptionList
 o item(int)
Return the TypeCode at the given index
 o remove(int)
Remove the TypeCode at the given index.

Constructors

 o ExceptionList
  public ExceptionList()

Methods

 o count
  public abstract int count() throws SystemException
A count of number of TypeCodes in the ExceptionList
Returns:
number of TypeCodes in the ExceptionList.
 o add
  public abstract void add(TypeCode tc) throws SystemException
Add a TypeCode.
Parameters:
tc - the TypeCode to be added.
 o item
  public abstract TypeCode item(int index) throws Bounds, SystemException
Return the TypeCode at the given index
Parameters:
index - the index of TypeCode desired.
Returns:
the TypeCode at the given index.
Throws: Bounds
raised if the index is greater than or equal to number of TypeCodes.
 o remove
  public abstract void remove(int index) throws Bounds, SystemException
Remove the TypeCode at the given index. Note that the indices of all TypeCodes following this one are shifted down by one.
Parameters:
index - the index of TypeCode to be removed.
Throws: Bounds
raised if the index is greater than or equal to number of TypeCodes.

All Packages  Class Hierarchy  This Package  Previous  Next  Index